package controller

import (
	"devops/service"
	"github.com/gin-gonic/gin"
)

// @Summary 获取所有制品仓库
// @Tags 制品库
// @Produce  json
// @Success 200 {object} data.SuccessGetDockerRepos  			"成功返回"
// @Router /api/docker/repos [get]
func GetDockerRepos(c *gin.Context) {
	devops := service.NewDevOps()
	SuccessResponse(c, devops.GetDockerRepos())
}
